package com.nacos.nacosproducer;

/**
 * @author wenl
 * @version V2.0
 * @project 自己的框架
 * @package com.nacos.nacosproducer
 * @date 2020/4/13
 * @describe
 */

public class User {


    public User(){}
    public User(int age, String name) {
        this.age = age;
        this.name = name;
    }

    int age;
    String name;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static void main(String[] args) {
        System.out.println(System.getProperty("java.vm.name"));
        System.gc();
    }

    static int dg1=0;
    static int dg2=0;

    public static String dg1(){
        Object obj = new Object();
        String str1 = new String(dg1+"");
        return dg2();
    }
    public static String dg2(){
        String str2 = new String(dg2+"");
        return dg1();
    }
}
